package org.jsola.hr.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.jsola.core.Page;
import org.jsola.core.Result;
import org.jsola.hr.dto.TransferAccountsZfbSafetyDetailAddDTO;
import org.jsola.hr.dto.TransferAccountsZfbSafetyDetailUpdateDTO;
import org.jsola.hr.query.TransferAccountsZfbSafetyDetailQuery;
import org.jsola.hr.vo.TransferAccountsZfbSafetyDetailListVO;
import org.jsola.hr.vo.TransferAccountsZfbSafetyDetailVO;

import java.util.List;

/**
 * 安全发转账明细(支付宝)
 *
 * @author zhr
 */
@Api(tags = "hr-安全发转账明细(支付宝)")
public interface ITransferAccountsZfbSafetyDetailControllerAPI {

    /**
     * 新增安全发转账明细(支付宝)
     * @param transferAccountsZfbSafetyDetailAddDTO 安全发转账明细(支付宝)新增实体
     * @return 安全发转账明细(支付宝)展示对象
     */
    @ApiOperation(value = "新增安全发转账明细(支付宝)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailAddDTO", dataType = "TransferAccountsZfbSafetyDetailAddDTO", value = "新增安全发转账明细(支付宝)", paramType = "body")
    })
    Result<TransferAccountsZfbSafetyDetailVO> save(TransferAccountsZfbSafetyDetailAddDTO transferAccountsZfbSafetyDetailAddDTO);


    /**
     * 修改安全发转账明细(支付宝)
     * @param transferAccountsZfbSafetyDetailUpdateDTO 安全发转账明细(支付宝)
     * @return 更新数量
     */
    @ApiOperation(value = "修改安全发转账明细(支付宝)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailUpdateDTO", dataType = "TransferAccountsZfbSafetyDetailUpdateDTO", value = "修改安全发转账明细(支付宝)", paramType = "body")
    })
    Result<Integer> update(TransferAccountsZfbSafetyDetailUpdateDTO transferAccountsZfbSafetyDetailUpdateDTO);




    /**
     * 删除单个安全发转账明细(支付宝)，彻底删除
     * @param transferAccountsZfbSafetyDetailId 安全发转账明细(支付宝)id
     * @return 删除数量
     */
    @ApiOperation(value="删除单个安全发转账明细(支付宝)，彻底删除")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailId", dataType = "String", value = "安全发转账明细(支付宝)id", paramType = "path")
    })
    Result<Integer> delete(String transferAccountsZfbSafetyDetailId);


    /**
     * 批量删除安全发转账明细(支付宝)，彻底删除
     * @param transferAccountsZfbSafetyDetailIds 安全发转账明细(支付宝)id集合
     * @return 删除数量
     */
    @ApiOperation(value = "批量删除安全发转账明细(支付宝)，彻底删除")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailIds", dataType = "String[]", value = "安全发转账明细(支付宝)id数组", paramType = "body" ,allowMultiple = true)
    })
    Result<Integer> deleteBatch(String[] transferAccountsZfbSafetyDetailIds);


    /**
     * 根据安全发转账明细(支付宝)id查询安全发转账明细(支付宝)详情
     * @param transferAccountsZfbSafetyDetailId 安全发转账明细(支付宝)id
     * @return 安全发转账明细(支付宝)详情
     */
    @ApiOperation(value="根据安全发转账明细(支付宝)id查询安全发转账明细(支付宝)详情")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailId", dataType = "String", value = "安全发转账明细(支付宝)id", paramType = "path")
    })
    Result<TransferAccountsZfbSafetyDetailVO> findById(String transferAccountsZfbSafetyDetailId);


    /**
     * 查询安全发转账明细(支付宝)
     * @param transferAccountsZfbSafetyDetailQuery 安全发转账明细(支付宝)查询参数
     * @return page
     */
    @ApiOperation(value="查询安全发转账明细(支付宝)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailQuery", dataType = "TransferAccountsZfbSafetyDetailQuery", value = "安全发转账明细(支付宝)查询参数", paramType = "query")
    })
    Result<List<TransferAccountsZfbSafetyDetailListVO>> listAll(TransferAccountsZfbSafetyDetailQuery transferAccountsZfbSafetyDetailQuery);


     /**
     * 分页查询安全发转账明细(支付宝)
     * @param transferAccountsZfbSafetyDetailQuery 安全发转账明细(支付宝)查询参数
     * @return page
     */
    @ApiOperation(value="分页查询安全发转账明细(支付宝)")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "transferAccountsZfbSafetyDetailQuery", dataType = "TransferAccountsZfbSafetyDetailQuery", value = "安全发转账明细(支付宝)查询参数", paramType = "query")
    })
    Result<Page<TransferAccountsZfbSafetyDetailListVO>> page(TransferAccountsZfbSafetyDetailQuery transferAccountsZfbSafetyDetailQuery);


}

